{"version":3,"sources":["script.js"],"names":["BX","namespace","Landing","Cookies","params","this","storageKey","storage","window","localStorage","currentStorage","enable","onlyInformation","siteId","parseInt","availableCodes","idButtonOpt","idButtonOptLink","idButtonAccept","idAgreementPopup","idCookiesNotice","idAgreementSmallPopup","classNameMainAgreement","classNameAnalyticAgreements","classNameTechnicalAgreements","classNameOtherAgreements","classNameButtonSave","classNameButtonCancel","classNameButtonClose","classNameCookiesSwitcher","messages","agreementAjaxPath","overlay","create","attrs","className","cookiesNotice","acceptedAgreements","agreementsChckRefs","popupModified","popupInited","dataLoaded","idMainAgreementContainer","idAnalyticAgreementsContainer","idTechnicalAgreementsContainer","idOtherAgreementsContainer","idButtonSave","idButtonCancel","idButtonClose","idButtonSwitcher","enableAllCookies","bind","delegate","openPopup","showCookiesNoticeText","hideCookiesNoticeText","actualizeFromStorage","prototype","getAvailableHooks","codes","map","code","util","in_array","push","hooks","setStorage","hideSmallPopup","showCookiesNotice","disableAllCookies","getStorage","showSmallPopup","fireEvent","initializePopup","querySelector","slice","call","querySelectorAll","onClickCloseIcon","savePopup","cancelPopup","node","switchAgreements","data","loadAgreements","initCheckboxes","innerHTML","ajax","url","method","dataType","onsuccess","result","agreementsLoaded","buildAgreements","hide","parentNode","show","showOverlay","closePopup","setPopupModified","hideOverlay","agreementCodes","getAcceptedAgreements","flag","textContent","acceptModified","acceptAll","declineModified","declineAll","asIs","store","getItem","JSON","parse","setItem","stringify","accepted","onCustomEvent","type","globalSwitchersState","getAttribute","setToState","key","switcher","UI","Switcher","getById","switcherType","getNode","check","acceptAgreement","actualizeAgreementsSwitcher","typesChecked","isChecked","switcherOff","setAttribute","switcherOn","codesFromStorage","checked","agreements","agreementsNodes","data-type","data-switcher","events","click","setTimeout","children","html","appendChild","initByClassName","style","display","classList","add","textWidth","offsetWidth","width","remove","document","body","append"],"mappings":"CAAA,WAEC,aAEAA,GAAGC,UAAU,cAObD,GAAGE,QAAQC,QAAU,SAASC,GAE7BC,KAAKC,WAAa,gB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